package com.example.dto;

import com.example.domain.User;
import io.swagger.v3.oas.models.security.SecurityScheme;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * ClassName:UserUpdateDTO
 * Package:com.example.dto
 * User:HP
 * Date:2025/8/24
 * Time:上午12:12
 * Author 周东汉
 * Version 1.0
 * Description:
 */

@Validated
@Data
public class UserUpdateDTO  {

    @NotNull(message = "用户id不能为空")
    private Long id;

    private String realName;

    private String email;

    private String phone;

    private Integer gender;
}
